package com.patent.common;

/**
 * @author zhangxiangwei6
 * @create 2018-03-26 20:35
 **/
public interface PatentConstant {

	//数据有效
	Integer YES_FLAG = 1;
	//数据无效
	Integer NO_FLAG = 0;

	//发明专利
	String inventFlag = "1";
	//实用新型
	String newTypeFlag = "2";
	//外观专利
	String facadeFlag = "3";

	//已授权标识
	String authorizedFlag = "1";
	//失效标识
	String failureFlag = "2";
	//申请中标识
	String applicationFlag = "3";

	//sms appid
	int appId = 1400078504;
	//sms 秘钥
	String appKey = "49197fdfceeb2bc2b59ccd93579181a8";
	//短信验证码过期时间
	String activeTime = "5";
	//短信有效时间(5分钟)
	int validTime = 300;

	//审核状态
	//未审核
	Integer NOT_AUDIT = 0;
	//审核通过
	Integer PASS_AUDIT = 1;
	//审核不通过
	Integer NO_PASS_AUDIT = 2;

	//缴费类型
	//未缴费
	Integer PAY_NOT = 1;
	//已缴费
	Integer PAY_YES = 2;

	//fileType类型
	//著录项变更
	Integer CHANGE_OF_DESCRIPTION = 1;
	//登记薄副本
	Integer REGISTER = 2;
	//专利
	Integer PATENT = 3;

	//changeType类型
	//著录项变更之发明人、申请人、专利权人变更
	Integer PERSON_CHANGE = 1;
	//著录项变更之专利代理机构、代理人委托关系变更
	Integer AGENT_CHANGE = 2;

	String PERSON_CHANGE_DESC = "著录项变更一";
	String AGENT_CHANGE_DESC = "著录项变更二";
	String REGISTER_DESC = "登记簿副本";

	//订单状态
	Integer NO_PAY = 1;   //未支付
	Integer PAY_SUCCESS = 2;   //支付成功
	Integer PAY_FAILURE = 3;   //支付失败

	//订单前缀
	String PATENT_ORDER_FLAG = "P";   //专利子订单
	String ALL_PATENT_ORDER_FLAG = "S";   //专利总订单
	String CHANGE_ORDER_FLAG = "C";   //著录项变更
	String REGISTER_ORDER_FLAG = "R";   //登记录副本
	String INVOICE_FLAG = "I";   //发票流水号

	//东泽接口返回
	Integer SUCCESS_CODE = 0;
	Integer SUCCESS_STATUS = 201;   //成功
	Integer ERROR_STATUS = 400;   //错误参数
	Integer EXIST_STATUS = 409;    //存在

	//发票状态
	Integer HAS_SUBMIT = 1;  //已提交
	Integer CANCEL = 2; //取消
	Integer MAKE_INVOICE = 3; //已开票
	Integer HAS_MAIL = 4; //已邮寄

	//发票类型
	Integer GENERAL = 1; //普通
	Integer SPECIAL = 2; //专用

}
